home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
STUTTGART
/
UTIL
/
PRINTER
/
SPOOL
/
!Spool
/
!Help
next >
Wrap
Text File
|
1995-11-07
|
9KB
|
258 lines
Instructions for !Spool by Andrew Sellors
*****************************************************************************
* NOTE: *
* !Spool is FreeWare. *
* This means that you may freely copy and distribute it, provided that it *
* is complete with all original files, and that you do not sell it. *
* PD libraries may charge a nominal fee for the cost of duplication, *
* postage etc. *
* In no circumstances shall the author be liable for any damage, loss of *
* profits, time or data or any indirect or consequential loss rising out of *
* the use of this software or inability to use this software. *
*****************************************************************************
Contents:
---------
Aims
Features
Before you start!
Compatibility
Operation
Iconbar menu
"Spool Configuration" window
"Sending File" window
Buffers
Setting the 3D bit
Contacting the author
********************************************************************************
Aims:
-----
This program spools files in the background in the Desktop to either the serial
or parallel ports.
********************************************************************************
Features:
---------
Uses 3D bit in CMOS RAM to select 2D or 3D windows _and_ iconsprites on startup.
(See the "Setting the 3D bit" section if you don't like 2D windows)
Uses Block Drivers so it can use serial ports other than the internal one.
Provides full control over the serial port used.
Can send a sequence of files one after another.
Has the option of mapping the printer data so that a TurboDriver printer cable
can be used.
********************************************************************************
Before you start!:
------------------
Before you can use this program you need the Block Drivers by Hugo Fiennes.
If you don't have them then download them now! or look at your favourite
PD library.
********************************************************************************
Compatibility:
--------------
This program is for RISC OS 3.10 or later.
It has been tested on both RISC OS 3.10 and RISC OS 3.50 and with the internal
port using Block Drivers v10a.
********************************************************************************
Operation:
----------
When the !Spool icon is double-clicked, it installs itself on the left of the
icon bar with the configured Block Driver loaded. If the !SerialDev application
that holds the Block Drivers has not been seen by the Filer then an error is
reported and the program does not start up.
Dragging a file to the icon will cause it to be sent to the selected destination
and a status window showing the progress displayed.
Dragging a file to the icon when a file is already sending causes it to be
queued, the total number of files shown in the status window will increase.
Dragging a selection of files to the icon will result in all the files being
sent to the selected destination port in sequence.
********************************************************************************
Iconbar menu:
-------------
+--------------+
| Spool |
+--------------+
| Info ⇨ | ⇨ opens "About this program" window
| Configure... | Opens "Spool Configuration" window
| Quit | Quits program.
+--------------+
********************************************************************************
"Spool Configuration" window:
-----------------------------
This allows the serial port, destination of the file and filebuffer size to be
setup.
Any changes made only take effect when either "Change" or "Save" are selected.
"Serial Port" group:
The "Driver Name" pop-up menu allows you to change the Block Driver used.
When a new driver is selected, the driver is scanned to find the baud rates
and ports supported, and the relevant menus changed accordingly.
Clicking on "Rescan Drivers" rechecks the available Block Drivers and updates
the list of drivers for the "Driver Name" menu. This can be used to update
the list if any drivers have been added since the program was started.
The "Port Number" pop-up menu allows the serial port to be configured as
some drivers support more than one serial port, the internal driver has only
one port: 0.
The other menus are fairly self explanatory, these should be set to the same
as the device that is connected to the serial port.
"Destination" group:
This allows the destination of the file to be selected between either the
serial or parallel ports.
When !Spool cannot claim the parallel port for use, the icon will be greyed
out.
"Transfer" group:
The "Buffer Size" writeable icon allows the size of the filebuffer to be
changed. This is the amount of memory that is claimed when a transfer is
initiated (and released when finished) to be used to buffer the disc access.
The file being transferred is read in chunks of the buffer size, so a larger
size will reduce the disc access at the expense of more memory being used
at transfer time.
Turning on the "TurboDriver Cable" option allows Spool to be used when the
special cable for the CC TurboDrivers is being used. If you have a normal cable
and select this option then the printer will print garbage.
Clicking on "Change" makes any changes made take effect and removes the window
from the screen. If adjust is used instead of select then the window is left
on screen.
Clicking on "Cancel" throws away any changes made and removes the window from
the screen.
Clicking on "Save" makes any changes made take effect and the saves the
configuration to disc to be used the next time the program is loaded. If
adjust is used instead of select then the window is left on screen.
********************************************************************************
"Sending File" window:
----------------------
This window is displayed in the bottom left corner of the screen when a file
is being sent. It shows the filename of the current file being sent, the amount
of data transferred so far and the total amount of data for that particular
file. It also shows the total number of files in the queue and the number of
the current file being sent. The bar marked 'progress' indicates graphically
how much of the current file has been sent.
The "Abort" icon stops all sending operations.
The "Skip" icon stops the current file from being sent and moves the program on
to the next file in the queue if there is one.
********************************************************************************
Buffers:
--------
Increasing the size of the printer buffer from its default size of 1K will
improve the speed at which data is sent to the parallel port, and so reduce
printing time.
The size of the printer buffer is shown by:
*Status PrinterBufferSize
I recommend a size of at least 16K which is achieved by
*Configure PrinterBufferSize 16K
Note: This amount is actually allocated in units of pages of memory so
depending on the type of machine and the amount of memory fitted the value
actually allocated could be higher.
Increasing the size of the serial output buffer also increases the speed at
which data can be sent to the serial port as the normal buffer is very small,
only 191 bytes. This can be done by loading a module such as SerialBuff by
David Pilling.
********************************************************************************
Setting the 3D bit:
-------------------
If you want to use the 3D windows in this program (and the handful of others
that support it) then you need to set the 3D bit in the CMOS RAM. In RISC OS
there is no *configure command to change it.
Cut out the following BASIC program and run it.
Note: this program toggles the bit, so if its off and you run it twice then
it is still off!
10REM Toggle state of '3D look' bit in CMOS
20REM Read byte
30SYS "OS_Byte",161,140 TO ,,byte%
40REM EOR byte with mask for bit 0
50byte% = byte% EOR 1
60REM Write byte back again
70SYS "OS_Byte",162,140,byte%
80END
OR
If you have RISC OS 3.5+ then it will probably be on, otherwise you will
have to then turn off "2D window tools" in the "Window Manager" part of
!Configure.
********************************************************************************
Contacting the author
--------------------
I, Andrew Sellors, can be contacted either at
57 Boundaries Road
Feltham
Middlesex
TW13 5DR
England
Or via Internet email at
asellors@orac2.demon.co.uk
Any feedback from users (bugs reports, requests for new features, praise,
money etc.) is gladly received.